Apparently I don't know javascript