Remove subdata connections improved
Corrections with jshint