more js work
More js work
Adding functions for handling user objects