Fixes bug with websockets not loading in production

This commit fixes a bug wherein the websockets wouldn't load when the
application was deployed to production. This was due to the application
path not being prepended.