AJAX on options + Carts JS refactoring