A prototype for a single page application with ember and sails - Client Side