A raffling system created using javascript