fix PHP Notice

PHP Notice:  Use of undefined constant next - assumed 'next'
PHP Notice:  Use of undefined constant theISOElement - assumed 'theISOElement'
PHP Notice:  Undefined variable: language
Merge pull request #6 from krp-kp/master

fix PHP Notice