Optimise loading of piwik javascript