add setters/getters, constants
be sure to use asyn in IE 8
library tested working with localhost devserver