fix default widgets admin javascriopt