Check for DATA constant

Added a check for DATA constant to prevent a PHP Strict notice in
index.html
Merge pull request #354 from daviddyess/master

Undefined constant DATA fix