Update build script to use node only, and generate precompiled templates.