Added JS post on switch statements.