Add JavaScript to build system