Add ajax type configuration to packages
Add test for changing ajax type