splitted elementinteraction.js