Moved dashboard and livestream javascript into separate files

couldn't find any other js to move