working with js
doesnt work