Implementation of a Deterministic Finite Automata using AngularJS and JointJS