Class Format Python String Split Function Javascript Parameters