Added ajax support for input for max_size