JS Developer assignment