refactoring, added more comments, fixed Detect.Plugins so plugin list does not have to be wrapped by the content property
renamed Detect.do to make it a bit more descriptive