Renamed all handlers with more descriptive names
HTML snippets were given underscore prefix
Added JS timer function to check if the stats present on the server side