few things in js added