Execute in-line script in partial views