Tidying up utils, added utils.isUrl