refactored to use minified versions
bumped to version 4.0.4.modern