Dont make the changes to the Code, use the extension interfaces to select the upload folder.
Go to WebAssist -> Forms -> HTML Editor -> Site Settings
this is where you set the base path for file uploads. In this window select the website.com/storage/ folder.
In the HTML Editor instance, Click the Pencil Icon next to the preset. Make sure the Allow File Uploads and Show Directories in File manager are checked.
for the subfolder setting you can leave that blank which open the file manager to the website.com/storage/ folder set in the site settings, or you can specify a subfolder pages/ which will open the file manager to the website.com/storage/pages/ folder.