Corrected a balise html
Created API for the javascript