fix static files and include some javascript libraries