Added minified fields to javascript