Return compact array from Arrays.reverse
Add bounded stack implementation
Add check for empty Ajax response body