Modified JS code on backend
Made client side basically work