fix php to js string