comment some unused methods in frame.js