Making JS more flexible and moving all styles into files.