use javascript directly from mockup when installed