You can use `@attr` here instead of `$(this).attr`