Adds configuration for web-mode.