please refer to our JS Style Guide
https://github.com/Wikia/guidelines/blob/master/JSCodingConventions.md