Linting and formatting of the js codes