Added Autoload

#41 
Can we generate the options outside of the `html` call? Seems a bit weird to be defining this anonymous function here then immediately calling it.