Added first iteration of switch to JSDoc #23