Tweak to init.js for Travis tests