Travis now works without the custom run_build.sh script

For Node.js projects travis calls `npm test` after first doing an `npm install`.
This pull request removes the need for the custom `run_build.sh` script by compiling the test runner script first and then executing it via Node.js.