javascript api added

wrote some javascript for calling yelp API