added virtual pageview tracking; ported tracking js to coffeescript