fix directory of js resources
use user-app directory