Changed position of analytics code

The analytics code should always be loaded last.
Merge pull request #2 from Ninos/analytics

Changed position of analytics code