Fix php in js bug.