Add travis-ci badge to the readme and fix js formatting there