Javascript Frame Component