Javascrip: vf, make "var" optional