load local apps using a web server

This helps for apps that do AJAX requests like go
print uncaught exception to stderr
print JavaScript errors when run under selenium