Update aspen.js

Added a config Object for the Dir and the index file