Fix undefined application

Since requires are loaded as separate files when not precompiled, adding this to fix undefined var exceptions in development because of coffee wrapping this create in an anonymous function.