debugged javascript with SublimeLinter and adjusted amount of items shown on ipad