new js and front end changes