fixed VarDec in jsgenerator and added comments to next needed fix