Replaced regex to remove comments with JSON.minify