Learning javascript development basics