remove non working fluent case
add rudimentary tests for using javascript to control replacement