enable to add cards from external javascript
minor updates for requirejs and easeljs