Provide Javascript helper object

As explained in the doc-string, to help use Javascript to set the value
of an option that normally attempts to quote strings.

This can be used for 'initialDate' which can either accept a string or a
Javascript Date object.
Merge branch 'javascript'