Add alert as a global
Use the jquery JSHint option instead of adding globals