Replaced queryselector with $