Fix IE onbeforeunload problem, with ui-select and bootstrap theme

Fix IE onbeforeunload problem, with ui-select and bootstrap theme