Resolve JS hint errors

Minor touch up so it passes validation