use @CompileStatic for taglib metaclass closures
Fix withCodec implementation. Use it for escaping javascript in javascript and escapeJavascript tags