Added content_for option to helper, to display the js in that block instead of right under the html