JS bugfix while update
+ controller interface refactor