fix modal.js
add server script