Move loader.js into scripts, wrap in closure, make canvas id less generic