javascript operation system