Review support.js files in IndexedDB/ and subdirectories

Combine the functions so that #63, #66 ~ #69 can remove the file.

Still keep IndexedDB/support.js use vendor prefix.