ran js hint and did what it said