Added js for embedding the frame