js hint fixes few more