Fixes Stack.js causing errors