perf($compile): only create jqLite object when necessary