Removed DOM-ready requirement from javascript loader in template (see http://thanpol.as/javascript/you-dont-need-dom-ready/)