component initialization using websql data