mod android to javascript obj