Require.JS-like functionality for GreaseMonkey