replace path.existsSync with fs.existsSync; basic jslint cleanup; version up