Extended default media queries & maintenance.

- jslinted (Sublime text gave me a lot errors)
- Changed standard resolutions to support 0-479px for really tiny screens
- replaced array detection code