Cleaning up jquery
Minor fixes, trying to sync