Added option of async + bug fix

Async is now an option (default true). Fixed bug where passing an array,
then repeating the process would cause the template not to load.