js modification