Borrowed from this SO answer: How to disable text selection highlighting using CSS?
You can use this:
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
in a CSS rule, see fiddle: http://jsfiddle.net/KyleMuir/eYpY6/2/
No JS needed :)
Hope this helps.