Make formatting consistent in bric.js

Noticed some inconsistencies in whitespace and formatting as I was reading through so I decided to clean them up.