Add debug_draw method to component.js