add jscs (closes #7) + fix existing code style errors