Only load widgets.js in compatible versions