adicionado js function notes on cosplay