set up spine.js.