JSBeginning cleanup.