Modularized and cleaned up code, added events, background blur, history.pushState