Update JS relative sizes