upgraded javascript