troubleshooting homeview.js