Fixed linitng errors in table plugin

Applied eslint and jscs