[jsxilinx]: Added experiment general logic (reacting when new-states are reached, etc)