problems from eloquent javascript