added javascript to prompt view when showing embeded
Merge branch 'AI2942-pairwise_plugin' into stable