Update main.js

colon missing after 'route' function name