move some onclick embed styles and add it to test page