added the correct jquery source and fixed some syntax problems