fixed nil arguments for "js" calls