fixed min-width and added js