added js function nuAddRow()