Finished the JS thingy