Cleanup code
Replace qwery for sizzle for better DOM query support