Assignment on JS