getting Javascript to act nice on dashboard