Fixed minor javascript error.