I think no way, you need a storage medium like a database or text files, javascript is only a client side scripting language. Use any server side language like asp,asp.net,php or jsp etc... with any database or files to achieve this....