Added PreDeploy scala script.
Added PreDeploy.scala script to make lib/*.js CDN-able.