add jquery entity and some design changes