Explicitly look for templates object on window.