refactor assetsRsync plugin js according to form validator changes