modify posts for extjs