Added dev mode detection on client side config.