Validation js moved to footer