Solving cross-origin inside ebub.js