dot-onLoad function

Internal function that expose javascript bindings to Shiny app.