fix(package): cross platform script compat
fix(package): cross platform script compat

closes #337 
aurelia/validation,manuel-guilbault/aurelia-validation,aurelia/validation,manuel-guilbault/aurelia-validation