renamed js file to avoid confusion
pass all user arguments to commands
improved a bit the js part