remove variable in getFit function
remove unused variables
add minified source