format code and lint js