Node.js compatibility
Add offset and width height to options