added browser detection to iris; hacked bower to export global to window