Initial commit:  Javascript kinetic functions.