Move preventDefault() call so onmousedown runs correctly.
Merge branch 'master' into gh-pages