Added some test code, javascript seems to work yay!