New levels and optimized js code