fixes coffeescript bug when page info is cached