less strict rules about function code style in js