completed feature test with javascript part 2