getJsVars now accepts plaintext, also fix parsing bug