[JSHint] Changed some settings
[Fix] Fixed errors from refactoring
[JsHint] Fixed some JSHint errors
[Code quality] Fixed code inspection issues + changed top level functions defintions from function expression type to regular defintion
[Fix] Fixed bug where a sequence component keys would not typed even in type-able elements (introduced by the last commit)