some javascript programs written by myself