I'm trying to upload the dashboard by adding this in index-dev.html, but it doesn't work. it returns a black page
$.ajax("/examples/weather.json", { 'async': true, 'method': 'get', 'success': function(data, status, xhr) { freeboard.loadDashboard(data); }; })