adding small fixes to enable maps for ie8 users, among with some other fixes