Update main.js

Removed functions that have been placed in Homeview.js