template: fix typo
main: remove unecessary verifications and bring resourceLoaded callback to main scope (refs #1)
cdn requester: remove line