Just type classic romaji letters in lower case for hiraganas and in upper case for katakanas. Kanas will appear as you type ;-)
Just add the script to kana-input.js right before your closing
</body> tag and add a
<textarea> tags than need to write kanas.
If you have any problem using this lib or if you think you can improve it. Please visit the github page and give your thoughts.