Fixed another javascript error