indexOf -> $.inArray for IE8 compatibility
Merge branch 'labs' of https://github.com/kartverket/anathem into labs