Rewrite boot.js