Php Check Array Value Exists In Javascript Semicolons