provides some JavaScript useful tools