FIx typo
Fix used javascript function instead of python one = duh
commits