fix multiple variable declaration, without initialization
convert typeof unary expression to gettype. translate undefined to NULL