added JSTime class and Android subclass