Javascript tutorial update