Split localization and ajax for checkout

mow two files instead of one