Minimize JS and make production ready