Improve javascript code formatting in Readme

Improved javascript code formatting in Readme