Update main.js

added star import