Updated appcontainer-driver.js with Element class

Signed-off-by: Daniel Koo <danieljamin.koo@gmail.com>