eddited dashboard.js for calling from search