[FTE] Fixed some jshint errors