with JS working inside of loaded