adheres to jshint superstrict with inline custom relaxes