Fix for Issue - Breaks when minified #55

Fixes minification issue and uses 'strict' mode. Initialized variables properly based on their scope.
Also there were some tab indentations that got removed.