the define and using functions are leaking to global scope when widgets.js is included twice. http://jsfiddle.net/68og2x6a/
define
using