Separated script and handle touch event
Updated license URL