client js + cmd line arguments