A bit of a hack to support java and node.

[1] claims that node.js is available in all envs in travis.
This setup is not optimal as we now longer controll the
node version, but could work for now.

[1] http://stackoverflow.com/questions/18456611/is-it-possible-to-set-up-travis-to-run-tests-for-several-languages