Update common.js

updated preventDefault() for IE8 Eventhandling