Application running common backbone code in client and nodejs server