Fix swipeSpec.js for MSIE documentMode detection