view element creation without jquery