First day playing with javascript