fixed front-end api
Merge pull request #63 from huyphamily/master

fixed front-end api
updated index.html