fix fetching statis js from client side