SND Intro to Javascript code