Include a sample beacon call when a page loads

This will let us count who is looking at what type of articles in real time.
Yes, that's my bad Scala habit creeping in ...

http://stackoverflow.com/questions/17029764/scala-import-statement-at-top-and-inside-scala-class