variable made public and creation moved to constructor
uglifyjs to minify
uses performance.now if available for more accurate measurements