basic js tutorial stuff from codeacademy