Making the template work with jasmine 2
Avoid calling window.onload twice
Merge pull request #61 from albertopq/master

Workaround for making the template work with jasmine 2