Fix javascript for discussion forums linl