deleted unneccessary javascript