switching out application js code to separate file for now