* variable declarations simplified
* fix for require path
* constructor theDay parameter fix
* for...in fix against property check in GCM