some code clarifying
some more code clarifying
many more code cleaning & js assets restructuring
Merge pull request #25 from kordero/style_changes

js code cleaning & restructuring: first cut