Breaking loft.js into client & server files.