minor correction to incorrect parameter name following work done on #803 that caused failing js tests