Remove unused variable
Remove unused functions and parameters
Move initialisation code to functions
Remove redundant line

localStorage triggers this on page load anyway
Reorder statements for easier reading
Move mobile device detection to a function

avoids code duplication
Merge pull request #188 from lorenzhs/cleanup

Code cleanup
Makes buffer switching a little bit faster if you don't use nicklist
manifest.webapp was pointing to the wrong repo
Merge pull request #191 from creesch/patch-1

Make manifest.webapp point to cormier.github.io
Merge pull request #187 from torhve/master

call the right scope
Merge pull request #189 from torhve/optimize-nicklist

Makes buffer switching a little bit faster if you don't use nicklist