chore(travis): add jre install, remove mock.js