Fixed Levels.js and added example