trying to get the javascript list over to python