updating js options
new option for require output
returning require config asn an obj, conditionally