fix localserver error & add jsonlint error

To show error line.