<commit_before># Common JavaScript Utils() {
Common utilities for JavaScript.  
This is Noah's Ark for [Atwood's Law](http://blog.codinghorror.com/the-principle-of-least-power/): "any application that can be written in JavaScript, will eventually be written in JavaScript." :joy:
##Dependencies
* AngularJS
* JQuery
* JQuery-UI

##Friends
* [JSHint](http://jshint.com/) for code quality.
* [Bower](http://bower.io/) for package management.

###JSHint
JetBrains configuration - opt for using config files `.jshintrc`.

##Best Practice for JS Folder Structure
[ref](http://requirejs.org/docs/api.html)
```
www/
    index.html
    js/
        app/
            sub.js<commit_msg>readme Installations<commit_after># Common JavaScript Utils() {
Common utilities for JavaScript.  
This is Noah's Ark for [Atwood's Law](http://blog.codinghorror.com/the-principle-of-least-power/): "any application that can be written in JavaScript, will eventually be written in JavaScript." :joy:


##Installations
###Common Utils for Everything
```html
<script type="text/javascript" src="/js/commons-util-js/DomUtils.js"></script>
<script type="text/javascript" src="/js/commons-util-js/PrimitiveExtensions.js"></script>
```
####Dependencies
* JQuery
* JQuery-UI

###Common Utils for AngularJS
```html
<script type="text/javascript" src="/js/commons-util-js/angularjs/filters.js"></script>
```
####Dependencies
* AngularJS

##Friends
* [JSHint](http://jshint.com/) for code quality.
* [Bower](http://bower.io/) for package management.

###JSHint
JetBrains configuration - opt for using config files `.jshintrc`.

##Best Practice for JS Folder Structure
[ref](http://requirejs.org/docs/api.html)
```
www/
    index.html
    js/
        app/
            sub.js
{'fraction_non_alphanumeric': 0.1514104778353483, 'fraction_numerical': 0.0, 'mean_word_length': 4.188059701492537, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3560806', 'n_tokens_mistral': 565, 'n_tokens_neox': 536, 'n_words': 149}