Closed open html and body tags
Added jQuery and removed calls to update counts
Switched to jquery standards