newer viewFrames.js