delete a global from predefined when added to blacklist.

#1603 turn off JSON when using predef:["-JSON"] or any other global put in with a negative in front.
Please fix this indentation. My guess is that you're editor using real tabs, please use spaces only.