added js file
now also showing json output