only use annotation javascript on appropriate pages