Dashboard JS cleanup