Where are you thinking to store the wallet?  In the local storage that HTML5 promises?  Also, does this really mean storing the private keys?