Redid config approach as JavaScript.

Tried habitat but changed my mind. Fixed node-inspector integration
stuff.