Strtok Javascript

$('#element').val().split(':')[0]
takemetothelakeswhereallthepoetswenttodie