Moved js from index view to separate file