Try using optimized jquery js code
Add test for jquery option