Mode changes and added fibonacci.js