it works now, on node webkit and chrome as well but not in firefox, thanks to you all for your help and kindness
i've got 2 controllers one is wireless (connected using play and chard kit) the othez one is the classic wire 360 controller this one is working fine.
I do use a wireless 360 controller and it works fine. You said you connected it through the play and charge kit. This will charge your controller, but you need to have the wireless windows adapter for it to actually work as a controller. The play & charge kit doesn't provide actual controller functionality on windows.
And if I'm not mistaken Firefox doesn't even support gamepads yet.