backbone view for browser and node.js