A flexible vietnamese input method for web in JavaScript