adjustable size update for main js file