add initial JS

C. Fahner <info@fahnerit.com>
fix syntax errors

C. Fahner <info@fahnerit.com>
add generic async resource loading system

C. Fahner <info@fahnerit.com>