updated js files to reflect a better backbone structure