Converted the Dashboard RPC from Coffee to JS