fix js issue, add thin as dev server