adds --devMode option for browserify builds + fix for buildDir not setting correctly