Refactors the nodejs functionality to be more modular and closer
match the ruby implementation.  This is an initial pass, but should
provide equivalent functionality to the previous method. Provides
actual functional instance listing for the main demo page.

References #2735.