Fixes javascript error on dashboard edit toggle