Fixing Compile Error

In certain compilers ie: Google Closure, will throw an error in thrown during attempt to compile code because element is not declared. The above fix with declare element unto itselfs or at least declare it as undefined.