a version with ajax but not backbone