As far as I remember I explained the way I'd go with it. I'm not JS guru, I'm Zenno guru
I can't create template instead of user, but I can help with it. I explained you how would I do that. I'm open to help in skype, but I can't be there 24/7. There is a time difference between us, that's why you may be offline when I'm on, and vise versa - that's why better to send questions here, or via email. But forum is always the best, since your solved problem will help not only you, but hundreds of other customers.