js changes for slabtext and slabtext css for display page