New options implemented and added a script to build the compressed JS files