added a jsp that uses javascript to make a REST call