remove joda-time in favour of nscala and fix js linting issue