IDGEN-30 : Auto-generating identifier broken in OpenMRS 1.7 and before on the new patient page

The problem was fixed in newPatientFormExtensions.js https://github.com/openmrs/openmrs-module-idgen/commit/e20e81b169d8969a8d209ea342ad7ea3a5201498 
but not in this file
Merge pull request #4 from individual-it/patch-1

IDGEN-30 : Auto-generating identifier broken in OpenMRS 1.7 and before o...
[maven-release-plugin] prepare release idgen-2.7
[maven-release-plugin] prepare for next development iteration
IDGEN-34 - Stop spurious logging of NPEs while OpenMRS is starting up
DGEN-25 - expanding seqential identifier length to min and max length
Merge pull request #6 from arathyjan/master

IDGEN-25 - expanding seqential identifier length to min and max length