moved all javascript in separate file