Update API.js

Adding some tweaks to try and get my interface to the Youtube API to work.