Add hasLoaded helper method.
Build the _assignEventHandlers method and cleanup code.
Add temporary console.log for debugging.