backbone model for browser and nodejs