moved foundation init outside onload event as may cause flickering bug with chrome?