Fix erros in documentation and javascript events and increase more costumization