Reorganizing javascript files, got rid of a lot