Fix missing quotes on select2 ajax value which caused js syntax error.

When having ids with alphanumeric values, not only numbers, (like mongodb ids), the missing quotes caused a javascript syntaxt error, this commit fixes that.