added v1 minified code