fix broken javascript embedding comments