added semi-functional dictionary api, and server side ajax lib