add infopanel JS script, minor changes on gantry template custimization files