Fix AbPanel::Javascript if no properties are set