Update ajax.php

Fixed typos from method naming and switch from helper to Widget_model