removed redundant js (why didnt i do this before?)