Update init.js

for html embedding service