[complete demo] Enable global variable tracking for JavaScript mode