added context and undefined minified version