added some js to call api
Merge pull request #1 from dheckman/dcircle

added some js to call api