strtok javascript

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