js hint cleanup