Allow the path to main.js to be changed via settings.
Add main.js helper
Add example