support input and output vars in inline js