fixed raw:js for compelte resolution

If the javascript is set to complete and mode is development the raw:js
flag is not correctly taken into account before outputting all the js as
raw files.