Do not use deprecated global var
Merge pull request #75 from wmde/ng

Do not use deprecated global var