BeanShell script with a replaceSlash method for normalizing DOIs