Default onFinishedCallback

By default, the onFinishedCallback is undefined, which can give errors when play() is finished. Line 68 now checks to make sure cb is a function.