Shell Script Loop Through Array Jquery Ajax