Added std::unique_ptr and ioports.js generator script.