Better to put this inside the headjs or bodyjs block, and wrap it in a `$(function() { ... });`.