JavaScript code for PE problem 148 added.