More elegant events

Before:
function onPageChange() {
   ga('send', 'pageview')
}
if (InstantClick.supported) {
  addEventListener('page:change', onPageChange)
}
else {
  onPageChange()
}

After:
InstantClick.on('change', function() {
  ga('send', 'pageview')
})