always send detail
take jsdir as arg
UI tweak