started recasting interaction functions
recasting js functions
building the dashboard in js