add google analytics to application.js

Added google analytics js code to the application js file, this way it will automatically get loaded on each page.

This is for issue #23