Deleted redundant JS files, cleaned up code

New unexpected break in HTML code on main page when loading -- try fix