Some style fixes, require now supports calling scripts with .js and is sync, so ready will fire after all scripts are loaded