Javascript course notes