Fix #910: Add support to export named parameters to JavaScript

Why not simply `scala.Any`, after all?