move dashboard js to its own folder