make properties local variables to make smaller size when minified.