Moved JS to home template.