Two small fixes for quick local testing of the webclient open as a file:// 

Just sending on the two tweaks i needed to test the bot on my computer