Added jscs rules and fixed all those issues.