Fix for release 38
Should still support any Brackets version with token `type` property