Moved backbone sync code into namespace.js