This reformat is based on what IntelliJ IDEA thinks about code style. Btw, jshint also thinks that .. = function () { is ok