Fixed global variable "plist" leak

When calling plist.parseStringSync it overwrites value of plist globally. It is because var is missing.