Added "white" JSHint option to make code style even more clear (had to temporarily indent everything inside closure).