update main.js views
housekeeping