Yeah, that is bad that shared\js doesn't provide us with such frequently used and important utility methods and we have to do it by ourselves :(