Update swipeSpec.js: MSIE documentMode detection replaces userAgent sniffing