add a missing js var ii