use jquey ajax instead of $http service to solve format bug