added init() function to save/edit campaign.js