Javascript Push Value To Front Of Array Methods Python