2/5/14 - switching to ajax most functions done