JavaScript code for PE problem 273 added. (t=168s)