emscripten::internal::optional is now copyable.
Fix JSInterface::JSInterface copy constructor to take a const&