Update API.js

Adding some tweaks to try and get my interface to the Youtube API to work.
Merge pull request #1 from sunilunka/master

Update API.js