@nstraub's fixes for tp 872 (skip logic bug in jsapp)