DemoBrowser: Add missing JS code