a little javascript for my self