Avoid computing ‘$’+jsid twice