completed javascript feature test part 1