Fix usage with rs.js 0.10.0-beta2

* Use no-cache build (no-cache setting in normal build seems broken)
* Handle object instead of array for directory listing
Merge pull request #14 from skddc/0.10.0-beta2

Fix usage with rs.js 0.10.0-beta2