add js files and pools.php cleanup
add js files and pools.php cleanup