added omit_script function attribute to omit the individual references to widget.js