move preview js scripts to footer_js template