skeleton for api.js, setting up api from youtube