RUNTIME: use the global_object
COMPILER: check js (missing primitives, ...) just before output
COMPILER: only check js if standalone