/**
 * The application initalizer.
 */
function app() {
  alert('test');
}

export default app;

import $ from 'jquery';
import themes from './themes';

/**
 * The application initalizer.
 */
function app() {
  $(function load() {
    themes();
  });
}

export default app;

Load themes when DOM is ready