Allow JS files to be wrapped by AMD define calls if they have a /** @amd */ pragma in them