cleanup after people who don't test in ie
Merge pull request #3399 from owncloud/fix_js_for_ie

cleanup after people who don't test in ie