if dev, compile view scripts only; let rjs dynamically load module scripts

fixes a bug introduced @ 11c83079f2775eb48fcac598a0dbc8d60d3b8c3b