Reproduction of an r.js optimizer issue