Take into account setData to remove the placeholder class

Adjust the code to use strict mode, fix some lint warnings and try to
fix https://github.com/AlfonsoML/confighelper/issues/1