modified boot.js