Changed bin/styleguide to use js instead of bash to ensure compatibility...

... with different platforms