Some js methods about variable nature added.