better support for standalone web app