un-rooted main.js; cleanup install script