Add option to specify output directory for createmobilespec.js