js changes for intro