allow js to pass in shape ids