MODIFICATIONS TO JS FILES