basic sceleton for new media edit page including jquery and ajax