Apply 'use strict' inside functions, to avoid errors is the library is concatenated to other js
Fixed missing/extra semicolumns
Minor formatting issues
More consistent comments' style
Consistent use of spaces