Revert f9f40f0..127c41a

This rolls back to commit f9f40f06dab2c267878db428e6bdd4a3c356d8ab.
Revert ee352d4..b0010f9

This rolls back to commit ee352d4b0f50173e69f0c3610e3738f2cd392a06.
rolled back& readied lottery.js