What does this do? Render some javascript? If so it should be included in the javascripts tag.
Can we add a condition for it to be loaded? The render method is quite heavy.