Pop Specific Element From Array Javascript Methods And Functions