fix typo
add js work-around for dexy bug