added more comments, variabled dimensions, housekeeping
moved js file out of html page
Merge branch 'kpamplona-iter3'