Replace jQuery dependency

Modified test to work without jQuery