Fixed course level rounding bug in courses.js

The level was rounded to the next integer in error. The fixed was made
to round down to the closest integer (floor). The calculation is now
done using Big.js