Fix base path of js files