Add JavaScript to intro outline