JavaScript library common used utility methods.