This function may be called to set or update the cloudsponge options. If you want to dynamically change the csPageOptions, this function can be called to update the cloudsponge options. The options will be merged into the cloudsponge object. When the options have been updated, the afterInit callback is triggered.

This function will also attach events to any links decorated with the class name “cloudsponge-launch” on the page so if you are dynamically adding elements to the page, ensure that you call init so that they will work as expected.