Don't set var keyword if namespace contains a dot

I've been using MyObject.myjson as namespace, but a var keyword was preceded by. This fix sets a var key word only if namspace doesn't contain a dot
jshint, inline documentation and better object

Added better jshint
Inline documentation
Better object after concat files
Better concatenation

Improve object creation, inline documentation and documentation updated