syntax fixes for jslint, better form dirtying