fixed localhost url dependencies, fixed assets url, and JS file