Made some changes to javascript
Made test html for the code
Found out that needed to make a packend server.