Make server able to serve collection partially
Remove debug logging
Fake server's code refactoring
Change the approach to query string parsing
key.length should be > 1
call decodeURIComponent only once for the whole URL