Created the js file with the checkbox swapper func

Signed-off-by: Gustavo Corrêia <correia.gustavol@gmail.com>
Signed-off-by: Carlos Filipe Bezerra <carlosfilipe.lb@gmail.com>