I believe foundation already has the class `.hide` that does the same thing.