js not working but html seems to be