Support JS.var type to reference any JavaScript variable.