Update scripts to remove jsHint errors