Update main.js

currentTarget