Improved JS and added interval to refresh the data (untested)

- renamed pink
- remove useless comments
- rewrote JS to be much cleaner (still to test as interval is 1s and
alert box present)
Tested JS and made changes to get working

- incorrect function name
- correct quotes
- unused mixin
- JS tidy, refreshes once per hour