Javascript Parse Array From String