fix for minification by closure compiler

This fix allows the minifaction through closure compiler (and removes the evil `eval`)