jqlite: before method