Added DOM Ready functionality
Changed bonus number default to 0
Adapted tests to domready