Pass String Value To Javascript Error