Add compatibility with Google Closure Compiler