fixed for new version of FarBox
add js scripts