added js to try accsss outside