javascript components must be part of application