Added JSHint

Should fix #5.