[js] Do not halt if init.js does not exist