Added js solutions