My main goal is to generate BTC address on my own with javascript on a browser only without being connected tto the internet?
I recommend you to avoid any tool that generates the keys through javascript.
click
here and read gmaxwell's explanation on why it's not a good idea to use javascript for generating keys.
And it may worth mentioning that if by "
without being connected to the internet", you mean just disconnecting internet when generating keys, that's not enough. You should use an airgapped device, instead.