Small changes in js + html