added float front end folder and js function