added jQuery dep, formatting fixes ("use loose")