updated embed js