a truly cross platform and simplified JS and DOM environment boilerplate