Php Split Query String Javascript Program