getting ready to put javascript in seperate file