JS refactoring & Strart photo in Article processing