Added some new funcionalities and chardin.js