Added support to detect platforms; Win, Mac and Linux
Added minified version