reverted to resize rather than onpaint
removed some files pulled in by git bisect
moved js to bottom of index.html - fixes grunt prod