- Fixes issues with the use of str().
- Improvements in the javascript code.