add jshinting and solve problems