added config for optimization (only works with node.js yet)