removed redundant js at top of index