more work on dashboard views and js