You can use the build-in funcitons querySelector or querySelectorAll instead of the jQuery selector. So it would be:
main(){
querySelector(".myClass").myFunction(){
aKey: 'some value'
}
}
or for mulitple elements:
main(){
querySelectorAll(".myClass").myFunction(){
aKey: 'some value'
}
}