Changed some JS