I actually read the mozilla style guidelines and changed a few things for performance and style reasons