Move the output wrapper from main_jsflags to common_jsflags to avoid the dev bundle

Good point, I removed the main_jsflags dependency from dev bundle instead then.