Fix another javascript error