Atomify your js - use js and handlebars templates from node modules on the front end.