Whitespace. Also, it looks like "cert" is in the global namespace. Do you introduce it with "var cert" anywhere?