Update dominate.js

Added the init member (non-prototype) function.