test REST with AJAX from html page