don't use promises for detecting features
small tweaks
add space
remove unnecessary object.create