one more thing: if .selector is missing, revert to previous toString strategy
build js