Changes to swift.js to make add button show up