Php Check Array Value Exists In Javascript Object To String In Java