Ajax hooked function for functions.php and js ajax call with output to div