Algo trading with html/java script

I wanted to write algo on html/java script. Is there any video tutorial available which can explain how to use dhan API on java script.