added DEBUG, for controlling debug JS code blocks