Missing jQuery function closure found and added