trying to do js