adding switchy.js