Refined new function library framework.  Added the start of Math.random.