pre removal of hosttype.js