Add webserver to gulp and refactor to remove a redundant promise