Add Zurb Foundation JavaScript detection
Slightly optimise jQuery library detection (Remove a redundant check)