Update utils.js

Added isBoolean for Strings