Store user preferences in a HTML5 WebWorks app
===

I'm developing a HTML5 Webworks application for Blackberry OS 5+.

I have to store user name, password and locale. However, I don't know how.

I could use local store, but it is only available on Blackberry OS 6+.

Someone suggested me that I can write my own plugin, but I don't know how to do it.

How can I store user name, password and language on Blackberry OS 5+?
