Added amplify.js version of API call
Merge pull request #1 from lexhung/master

Amplify.js version of API calls