Eliminate common Javascript via HTML data attribtues