final attempt at fixing jquery issue