changing _hx namespace to $hx
adding qunit
adding detach method
adding detach method
adding detach method and fixing issue #5