JavaScript code for PE problem 463 added.