updated metadata in lockfn to make this compatible with scroungejs