ie8 js fix for foundation