missed the javascript stuff in home template