Add a javascript runtime engine within ruby.

Add a javascript runtime engine within ruby.