Repairs and adding persistent User to js.

Repairs and adding persistent User to js.