learning js from http://www.youtube.com/watch?v=WrUgFM1OumQ