have a look: https://github.com/aerogear/aerogear-js/blob/master/src/aerogear.core.js#L1-L2