adjusted directory paths in jslibs.php