minor code reorganization
add jQueryTE rich text editor to pages