#UPDATE: update the js to mimic that when the function set by the setInterval is called. The this var is pointing to the window object.