Finished part 5 of JavaScript problems.