second version of js embed page