Added options to exclude bootstrap code and to change the global variable used in browser.