Update levelbase.js

corrected fix ;)
Tested on Win and Linux