Generate a YUI Config file and make use of it on the page. The actual
config is hard-coded for now, but it's a start.
Dropped in Q for use as promises to make the code cleaner
Actually load the configuration from the filesystem. This uses promises
in a recursive manner so be careful, but it works and isn't hard to
read.