JAVASCRIPT ASSIGNMENT COMMITED