format code as js in readme