made reveal working with webpack