Added comunication with JS