Update formatting of readme

Fixed the nested list and added javascript syntax highlighting