hacked version of build.js to get me around require.js issues
strong-type hackery complete.