Standalone JavaScript image lazy loader