Allow to run Scala.js projects through Rhino.

The scripting engine executes all the source files in the
task `sources in Runtime` of the project, which by default
is set to `sources in packageJS`.

To run the optimized version of the code instead, one can
use the following setting:
sources in Runtime <<= optimizeJS in Compile map (Seq(_))