updating adn adding some JS