The Javascript minifier in SS.Html is quite old. Some changes have been made to the original C version that are not in the used CS version. Took the changes from the C version and incorporated them. Also included a flag to not raise errors when something fails (as a last resort)
Made a pull request made for JSMinifier