Add container and remove jquery dependency

Signed-off-by: Ryan Chen <ryan.chen@turn.com>
There are now two cases for local. One is from is-local flag for parent. Another one is customized element.