minified version errors fixes; test fix for FF20+