updated options handling.
Changed jquery library to production.