Update twitterCard.js

Made ajax request url relative to base.