refactor theme previewer method
try build directive to upload moudule