Prepping for js-ctype usage. Added OS determination