Javascript window renderer and manager.