function of javascript reverse lookup service