fix JavaScript 207