little fixes

beautified, fixed one var, == to ===