Added eslint & jscs checking + fixed code-style accordingly