Pretty straight translation of https://github.com/paulmillr/brunch-with-chaplin to JavaScript only