Fixed bug #17072: Missing semicolons in JS code