Some refactor and 'use strict' all around
documentation