restruct show editor js