Brackets 41 hotfix

Brackets sprint 41 just removed an API that was being used that wrecked the extension. This is just a workaround for it until someone can find a real workaround.