finishes setup and running for android and html5