Fixes in autoDeco.js

Signed-off-by: Nightmaster <nightmaster@seitaer.com>