separated java-script and ajax for sales and services