cleanup on normal libs as well as phos a library for dealing with WebSQL