fix js for new user