[javascript] Unable to preventDefault inside passive event listener