Removed the check for user groups in javascript