JSLint cleanup for minify.
Ammount typo correction. Image creation for loop fix.