Implementing the javascript for the worst example
Implementing the bad code example
Renaming the app folder to ideal
Implementing the better code using namespaces