changed modified javascript