Fix for erratic cursor behavior on Android

This addresses an issue WanaKana was having with the cursor jumping around erratically when entering text in Chrome on Android. The cursor should now always move to the end of whatever text is inside the input element.

I only edited the non-minified JS file in /lib/, I'm not familiar enough with CoffeeScript to modify the source file.