JavaScript Syntax Homerworks