Be careful with concatenating strings into selectors as it could make injection possible..
I'd say better keep the previous version to be sure.