made all the client side js work