Fixing IE errors: JS issues in ushahidi.js