utm.js

- Fixed some syntax errors
- Fixed some errors

index.html

- Fixed some errors
- Add some tests