A simple javascript for html presentation slides