Changes made to Javascript