moved jquery de-register to enqueue action