Fix bug can't change Workers (Java script)
Make some change for Ami:
 - Change mode for client