Fixed issue preventing numeric key clicks/touches from registering due to reference error

Also set `usePreview: false` in jQuery Mobile demo, which suits this application better.