offsetX and offsetY are relative to the parent container, whereas pageX and pageY are relative to the document
if ( car.modification ) {
for (var modification of global_modifications_list) {
if (car.modification[ modification ]) {
// do something
}
}
}