rewrote so that it works with options

+ killed multiple js files for multiple languages