[inmethod-grid] Issue #308 - Improvements to script-jq.js (the new JQuery based impl)