Detect Desktop Platforms

I was needing a plugin to detect if user is using mac, so I forked and edited yours. I also add the minified version of the js.