Manipulating DOM, Ajax, jquery mixed project