comment length js moved to layout