fixed the js runtime errors