Update main.js

delete prototyepe extend