Added JSHint and karma support