created separate file for javascript files