Inner JS application structure and gems