first three rules for js code style