added serializeJSON javascript and fixed order of backbone routes