moving default.js to public folder