Added more missing JS functions