kris javascript toolkit