Remove unused variable in compose form preview button JS