Add javascript and web modes and configuration.