create Switch.js

This file contains all the elements belonging to switch tag.