Moved dashboard and livestream javascript into separate files, resolves #20