Refactoring

1) Moved js-beautify files to /ext/js-beautify folder
2) Added TODO
3) Small refactorings