Code works on Weebly but not WIX - needs solution