Label.js code cleanup/simplification.