fix bug detection.isSupported
Merge pull request #3 from Fridus/master

fix bug detection.isSupported