Php Remove String From String Js Methods