fixed and abstracted feature.js

trying to add rmagick - its messed up.