Self updating JS application stub