Added js code in markdown format