JS panel phase 1