Started panel JS code.