Made eshint happy

I fixed all eshint errors and commented some code out (in brim.js line 48-63) which may be deleted, I think.
#6 would have to be merged before this one, as this one combines both PRs.

Have a nice day ;)