added jquery and fixed and issue with the attribute selector in firefox