fix most jhint errors