Update dominate.js

Added documentation for `Dominate.init`.