IME Double Keys sample application demonstrates how to create custom IME with HTML, CSS and Javascript code.