adds framework for post and tag ajax