Adding 'Dynamic Partials' scripts to 'application.html.erb'