[Dev|JavaScript] Fixed switch layout.