small fixes, added jquery for local testing