moves new code for skeleton of dashboard plugin into dashboard.js