This is Lib for javascript array operation