add jshintrc
add missing semicolon
preventDefault on mousedown/touchstart

stops issue where carat may appear when dragging
bump version to 0.5.0