JSHint run pass & structure + semantic tweaks.