Adapted to jQuery call standart.