adding and modifying js