Javascript Array Remove Object By Using Pattern