Added IE<9 hack to make location dropdown work