variant test: remove unnecessary JS variable