If you are not been able to figure out what is reason behind missing parameter, so you can add
public void controllerMethodName (@RequestParam(required = false) int page)
code in your controller definition which will not throw any exception if parameter is not present in your ajax request.