Pass Option<JSVal> for optional JSVals.

Right now, we silently default to null, which is somewhat fishy.