updated JS application